/* 公共类 */
/* 头部区域 */
/* 版心居中 */
.wrapper {
    margin: 0 auto;
    width: 1400px;
}

.header {
    height: 100px;
    background-color: #edebeb;
    font-family: 'Kaiti';
    font-weight: 700;
}

.header .wrapper {
    padding-top: 31px;
    display: flex;
    justify-content: center;
}

/* logo区域 */
/* .logo {
    width: 240px;
} */

.logo a {
    display: flex;
    justify-content: space-around;
}

.logo img {
    margin: -21px;
    width: 80px;
    height: 80px;
    border-radius: 15px;
}

.logo h1 {
    margin-top: 4px;
    margin-left: 35px;
    font-weight: 400;
    font-size: 42px;
    font-family: "STXingkai";
    font-style: italic;
    /* 设置字体风格为斜体，模拟行书的流动感 */
    text-shadow: 2px 2px 4px gray;
    /* 添加阴影效果 */
    color: #333;
    /* 设置字体颜色 */
}

/* 导航区域 */
.nav {
    margin-left: 102px;
}

.nav ul {
    display: flex;
}

.nav li {
    margin-right: 30px;
}

.nav li a {
    display: block;
    padding: 6px 8px;
    font-size: 20px;
    line-height: 27px;
    color: gray;
}

.nav li .active,
.nav li a:active {
    font-size: 28px;
}

.nav li a:hover {
    font-size: 24px;
}

/* 搜索区域 */
.search {
    margin-left: 32px;
    padding: 0 19px;
    width: 414px;
    height: 40px;
    background-color: #f1f1f1;
    border-radius: 20px;
    text-align: center;
    display: flex;
    align-items: center;
}

.search input {
    flex: 1;
    border: 0;
    background-color: #f1f1f1;
    /* 取消焦点框的出现 */
    outline: none;
}

.search a {
    display: block;
    height: 40px;
    width: 32px;
    color: gray;
    font-size: 14px;
    text-align: center;
    line-height: 40px;
}

.search a:active {
    color: skyblue;
}

/* 用户区域 */
.user {
    margin-left: 62px;
    margin-top: 4px;
    display: flex;
}

.user img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 7px;
    /* vertical-align, */
    vertical-align: middle;
}

.user span {
    color: gray;
    font-size: 16px;
}

.user span:active {
    color: skyblue;
}

/* 底部区域 */
.footer {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100px;
    margin-top: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    line-height: 100px;
}